Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cross platform support for Windows #23

Merged
merged 4 commits into from
Mar 14, 2019
Merged

Conversation

Robdel12
Copy link
Contributor

What is this?

This adds support for running the example app from windows. I have verified this works with windows with this specific build coming from my windows machine: https://percy.io/percy/example-percy-cypress/builds/1564784

image

@Robdel12 Robdel12 requested review from anaulin and djones March 13, 2019 18:35
run-tests.js Outdated
: `cypress`;

const server = httpServer.createServer()
const PORT = 8000
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't used

package.json Outdated
@@ -10,6 +10,7 @@
"devDependencies": {
"@percy/cypress": "^1.0.2",
"cypress": "^3.1.5",
"http-server": "^0.11.1"
"http-server": "^0.11.1",
"https-server": "^0.1.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you ever use this https-server package? Might not be needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good catch! I did not intend to add that 😱

Copy link
Contributor

@anaulin anaulin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks 👍 to me.

Happy to see this merged as soon as the various CI builds go green. Looks like the Percy build failed for some reason -- I triggered another CI workflow run to see if that goes better. It would be good to look into why it failed the first time around.

@anaulin
Copy link
Contributor

anaulin commented Mar 14, 2019

All builds are 💚 now, so feel free to merge as soon as you remove that https-server dependency. :shipit:

@Robdel12 Robdel12 merged commit 6085efd into master Mar 14, 2019
@Robdel12 Robdel12 deleted the rd/cross-platform-support branch March 14, 2019 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants